<!doctype html>
<html lang="en-us">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width" />
    <title>logical values for float</title>
    <link rel="stylesheet" href="../css-cookbook/styles.css" />
    <style>
      .container {
        display: flex;
      }

      .box {
        border: 2px solid rgb(96 139 168);
        border-radius: 5px;
        background-color: rgb(96 139 168 / 0.2);
        padding: 10px;
        margin: 10px;
        width: 100px;
        height: 100px;
      }
    </style>

    <style class="editable">
      .inner {
        writing-mode: horizontal-tb;
      }

      .physical {
        float: left;
      }

      .logical {
        float: inline-start;
      }
    </style>
  </head>

  <body>
    <section class="preview">
      <div class="container">
        <div class="inner">
          <div class="physical box"></div>
          Turnip greens yarrow ricebean rutabaga endive cauliflower sea lettuce
          kohlrabi amaranth water spinach avocado daikon napa cabbage asparagus
          winter purslane kale.
          <div class="inner">
            <div class="logical box"></div>
            Turnip greens yarrow ricebean rutabaga endive cauliflower sea
            lettuce kohlrabi amaranth water spinach avocado daikon napa cabbage
            asparagus winter purslane kale.
          </div>
        </div>
      </div>
    </section>

    <textarea class="playable playable-css" style="height: 240px">
.inner {
  writing-mode: horizontal-tb;
}

.physical {
  float: left;
}

.logical {
  float: inline-start;
}</textarea
    >

    <textarea class="playable playable-html" style="height: 180px">
<div class="container">
  <div class="inner">
    <div class="physical box"></div>
      Turnip greens yarrow ricebean rutabaga endive cauliflower sea lettuce kohlrabi amaranth water spinach avocado daikon napa cabbage asparagus winter purslane kale.
    </div>
    <div class="inner">
      <div class="logical box"></div>
      Turnip greens yarrow ricebean rutabaga endive cauliflower sea lettuce kohlrabi amaranth water spinach avocado daikon napa cabbage asparagus winter purslane kale.
    </div>
</div></textarea
    >

    <div class="playable-buttons">
      <input id="reset" type="button" value="Reset" />
    </div>
  </body>
  <script src="../css-cookbook/playable.js"></script>
</html>
